package com.ja.openchat.ui.me;


import androidx.fragment.app.Fragment;

import com.ja.openchat.R;
import com.ja.openchat.ui.base.BasePagerNearbyFragment;

import java.util.ArrayList;
import java.util.List;

//附近的人
public class PeopleNearbyViewPagerGroupFragment extends BasePagerNearbyFragment {

    @Override
    protected List<Fragment> pagerFragment() {
        List<Fragment> list = new ArrayList<>();
        list.add(new NearbyFragment());
        list.add(new PublicGroupFragment());
        return list;
    }

    @Override
    protected List<String> pagerTitleString() {
        List<String> list = new ArrayList<>();
        list.add(getString(R.string.people_nearby));
        list.add(getString(R.string.public_group));
        return list;
    }
}
